﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Windows.Forms;

namespace LanSunERP
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            try
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);

                LanSunBIService m_LanSunBIService = new LanSunBIService();
                m_LanSunBIService.Visible = false;
                Application.Run(m_LanSunBIService);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message + ex.Source + ex.TargetSite); 
            }
        }
    }
}
